#include"util.hpp"
#include"date.hpp"
#include"cloud.hpp"

#define BACKUP_FILE "./backup.dat"
#define BACKUP_DIR "./backup/"

int main()
{
	/*cloud::FileUtil fu("./");
	std::vector<std::string> arry;
	fu.ScanDirectory(&arry);
	cloud::DataManager data(BACKUP_FILE);
	for (auto& a : arry)
	{
		data.Insert(a,"saasadadad");
	}*/

	/*cloud::DataManager data(BACKUP_FILE);
	std::string ss;
	data.GetOneByKey(".\\cloud.cpp", &ss);
	std::cout << ss << std::endl;*/

	cloud::BackUp backup(BACKUP_DIR, BACKUP_FILE);
	backup.RunModule();
	return 0;
}